[INFO] cloning repository https://github.com/mtuto81/nexa
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mtuto81/nexa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtuto81%2Fnexa", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtuto81%2Fnexa'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 01a79b90e9e21b6675059bab167d9a52d978c8c7
[INFO] checking mtuto81/nexa against 40527f3e444fde1deb361751bdef9b9e11d1b971+rustflags=--cfg crater_hack --force-warn invalid-c-variadic-arguments for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtuto81%2Fnexa" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mtuto81/nexa
[INFO] finished tweaking git repo https://github.com/mtuto81/nexa
[INFO] tweaked toml for git repo https://github.com/mtuto81/nexa written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mtuto81/nexa on toolchain 40527f3e444fde1deb361751bdef9b9e11d1b971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mtuto81/nexa already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f1f83d451ffe4e9746a8afdd2ce82573f7856ee7bfacd951408c3405bf782580
[INFO] running `Command { std: "docker" "start" "f1f83d451ffe4e9746a8afdd2ce82573f7856ee7bfacd951408c3405bf782580", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1f83d451ffe4e9746a8afdd2ce82573f7856ee7bfacd951408c3405bf782580", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f1f83d451ffe4e9746a8afdd2ce82573f7856ee7bfacd951408c3405bf782580" "/opt/rustwide/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1f83d451ffe4e9746a8afdd2ce82573f7856ee7bfacd951408c3405bf782580", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid --cfg crater_hack --force-warn invalid-c-variadic-arguments" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f1f83d451ffe4e9746a8afdd2ce82573f7856ee7bfacd951408c3405bf782580" "/opt/rustwide/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]    Compiling cranelift-srcgen v0.125.4
[INFO] [stderr]     Checking rustc-hash v2.1.3
[INFO] [stderr]    Compiling zerocopy v0.8.56
[INFO] [stderr]    Compiling find-msvc-tools v0.1.11
[INFO] [stderr]    Compiling cranelift-isle v0.125.4
[INFO] [stderr]    Compiling object v0.39.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.125.4
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]    Compiling siphasher v1.0.3
[INFO] [stderr]     Checking new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling target-lexicon v0.13.5
[INFO] [stderr]     Checking cranelift-bitset v0.125.4
[INFO] [stderr]    Compiling rand v0.8.7
[INFO] [stderr]     Checking bumpalo v3.20.3
[INFO] [stderr]    Compiling cranelift-assembler-x64-meta v0.125.4
[INFO] [stderr]    Compiling cc v1.4.3
[INFO] [stderr]     Checking cranelift-entity v0.125.4
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]     Checking arbitrary v1.4.2
[INFO] [stderr]     Checking gimli v0.32.3
[INFO] [stderr]     Checking cranelift-bforest v0.125.4
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]     Checking either v1.17.0
[INFO] [stderr]     Checking better_scoped_tls v1.0.1
[INFO] [stderr]     Checking siphasher v0.3.11
[INFO] [stderr]     Checking swc_visit v2.0.1
[INFO] [stderr]     Checking regalloc2 v0.13.5
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]     Checking bitflags v2.13.1
[INFO] [stderr]     Checking unicode-id-start v1.4.0
[INFO] [stderr]    Compiling seq-macro v0.3.6
[INFO] [stderr]     Checking num-integer v0.1.47
[INFO] [stderr]     Checking cranelift-control v0.125.4
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.125.4
[INFO] [stderr]     Checking wasmtime-internal-math v38.0.4
[INFO] [stderr]    Compiling stacker v0.1.25
[INFO] [stderr]    Compiling cranelift-assembler-x64 v0.125.4
[INFO] [stderr]    Compiling zerovec-derive v0.11.4
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling cranelift-codegen v0.125.4
[INFO] [stderr]     Checking serde v1.0.229
[INFO] [stderr]    Compiling ar_archive_writer v0.5.3
[INFO] [stderr]     Checking triomphe v0.1.16
[INFO] [stderr]     Checking num-bigint v0.4.8
[INFO] [stderr]     Checking bytes-str v0.2.8
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling swc_macros_common v1.0.1
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling swc_eq_ignore_macros v1.0.1
[INFO] [stderr]    Compiling phf_macros v0.11.3
[INFO] [stderr]    Compiling from_variant v3.0.0
[INFO] [stderr]    Compiling ast_node v7.0.0
[INFO] [stderr]    Compiling string_enum v1.0.2
[INFO] [stderr]    Compiling is-macro v0.3.7
[INFO] [stderr]    Compiling psm v0.1.32
[INFO] [stderr]     Checking phf v0.11.3
[INFO] [stderr]     Checking hstr v4.0.1
[INFO] [stderr]     Checking swc_atoms v10.0.0
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking yoke v0.8.3
[INFO] [stderr]     Checking zerovec v0.11.7
[INFO] [stderr]     Checking zerotrie v0.2.5
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking tinystr v0.8.4
[INFO] [stderr]     Checking potential_utf v0.1.6
[INFO] [stderr]     Checking icu_collections v2.3.0
[INFO] [stderr]     Checking icu_locale_core v2.3.0
[INFO] [stderr]     Checking icu_provider v2.3.0
[INFO] [stderr]     Checking icu_properties v2.3.0
[INFO] [stderr]     Checking icu_normalizer v2.3.0
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking swc_common v26.0.0
[INFO] [stderr]     Checking swc_ecma_ast v29.0.0
[INFO] [stderr]     Checking swc_ecma_parser v45.0.0
[INFO] [stderr]     Checking cranelift-module v0.125.4
[INFO] [stderr]     Checking cranelift-frontend v0.125.4
[INFO] [stderr]     Checking cranelift-object v0.125.4
[INFO] [stderr]     Checking nexa v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `null_terminated`
[INFO] [stdout]    --> src/codegen.rs:685:43
[INFO] [stdout]     |
[INFO] [stdout] 685 |     fn intern_string(&mut self, s: &[u8], null_terminated: bool) -> Result<DataId, String> {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_null_terminated`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_typescript` is never used
[INFO] [stdout]   --> src/main.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn parse_typescript(source: &str, filename: &str) -> Result<(), String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_nexa` is never used
[INFO] [stdout]    --> src/main.rs:265:4
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn parse_nexa(source: &str) -> Result<(Vec<ClassDecl>, Vec<InterfaceDecl>, Vec<Fun>, Vec<GlobalDecl>), String> {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_nexa_with_externs` is never used
[INFO] [stdout]    --> src/main.rs:270:4
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn parse_nexa_with_externs(source: &str, externs: &HashMap<String, ExternSig>) -> Result<(Vec<ClassDecl>, Vec<InterfaceDecl>, Vec<F...
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compile_with_externs` is never used
[INFO] [stdout]     --> src/main.rs:2669:4
[INFO] [stdout]      |
[INFO] [stdout] 2669 | fn compile_with_externs(source: &str, externs: &HashMap<String, ExternSig>) -> Result<(), String> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/ir.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 |     Const(ValueId, i64),
[INFO] [stdout]    |     ----- ^^^^^^^  ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 20 -     Const(ValueId, i64),
[INFO] [stdout] 20 +     Const((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/ir.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Add(ValueId, ValueId, ValueId),
[INFO] [stdout]    |     --- ^^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 22 -     Add(ValueId, ValueId, ValueId),
[INFO] [stdout] 22 +     Add((), (), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/ir.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     Sub(ValueId, ValueId, ValueId),
[INFO] [stdout]    |     --- ^^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 23 -     Sub(ValueId, ValueId, ValueId),
[INFO] [stdout] 23 +     Sub((), (), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/ir.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     Mul(ValueId, ValueId, ValueId),
[INFO] [stdout]    |     --- ^^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 24 -     Mul(ValueId, ValueId, ValueId),
[INFO] [stdout] 24 +     Mul((), (), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/ir.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Div(ValueId, ValueId, ValueId),
[INFO] [stdout]    |     --- ^^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 25 -     Div(ValueId, ValueId, ValueId),
[INFO] [stdout] 25 +     Div((), (), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/ir.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Call(ValueId, String, Vec<ValueId>),
[INFO] [stdout]    |     ---- ^^^^^^^  ^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 26 -     Call(ValueId, String, Vec<ValueId>),
[INFO] [stdout] 26 +     Call((), (), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/ir.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Print(ValueId),
[INFO] [stdout]    |     ----- ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 -     Print(ValueId),
[INFO] [stdout] 27 +     Print(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/ir.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     Return(Option<ValueId>),
[INFO] [stdout]    |     ------ ^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 29 -     Return(Option<ValueId>),
[INFO] [stdout] 29 +     Return(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/ir.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 |     Note(String),
[INFO] [stdout]    |     ---- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 30 -     Note(String),
[INFO] [stdout] 30 +     Note(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Copy` and `Phi` are never constructed
[INFO] [stdout]   --> src/ir.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Clone, Debug)] pub enum Inst {
[INFO] [stdout]    |                                  ---- variants in this enum
[INFO] [stdout] 20 |     Const(ValueId, i64),
[INFO] [stdout] 21 |     Copy(ValueId, ValueId),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     Phi(ValueId, Vec<(BlockId, ValueId)>),
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `canon` is never read
[INFO] [stdout]   --> src/modules.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct LoadedModule {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] 22 |     display: String,
[INFO] [stdout] 23 |     canon: PathBuf,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `class_decl` and `program` are never used
[INFO] [stdout]    --> src/parser.rs:338:8
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl Parser {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 338 |     fn class_decl(&mut self) -> Result<Fun, String> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 342 |     fn program(&mut self) -> Result<Vec<Fun>, String> { let mut f = Vec::new(); while !matches!(self.peek(), Tok::Eof) { f.push(sel...
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `method_names` are never read
[INFO] [stdout]   --> src/checker.rs:13:65
[INFO] [stdout]    |
[INFO] [stdout] 13 | ...ct ClassDef { pub(crate) name: String, pub(crate) fields: Vec<(String, ir::IrType)>, pub(crate) constructor_name: String, pub(crate) method_names: V...
[INFO] [stdout]    |       --------              ^^^^                                                                                                        ^^^^^^^^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ClassDef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_module` is never used
[INFO] [stdout]    --> src/checker.rs:336:15
[INFO] [stdout]     |
[INFO] [stdout] 336 | pub(crate) fn check_module(module: &SwcModule) -> Result<(), String> { check_module_with_externs(module, &HashMap::new(), &HashMap:...
[INFO] [stdout]     |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `null_terminated`
[INFO] [stdout]    --> src/codegen.rs:685:43
[INFO] [stdout]     |
[INFO] [stdout] 685 |     fn intern_string(&mut self, s: &[u8], null_terminated: bool) -> Result<DataId, String> {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_null_terminated`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/ir.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 |     Const(ValueId, i64),
[INFO] [stdout]    |     ----- ^^^^^^^  ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 20 -     Const(ValueId, i64),
[INFO] [stdout] 20 +     Const((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/ir.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Add(ValueId, ValueId, ValueId),
[INFO] [stdout]    |     --- ^^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 22 -     Add(ValueId, ValueId, ValueId),
[INFO] [stdout] 22 +     Add((), (), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/ir.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     Sub(ValueId, ValueId, ValueId),
[INFO] [stdout]    |     --- ^^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 23 -     Sub(ValueId, ValueId, ValueId),
[INFO] [stdout] 23 +     Sub((), (), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/ir.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     Mul(ValueId, ValueId, ValueId),
[INFO] [stdout]    |     --- ^^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 24 -     Mul(ValueId, ValueId, ValueId),
[INFO] [stdout] 24 +     Mul((), (), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/ir.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Div(ValueId, ValueId, ValueId),
[INFO] [stdout]    |     --- ^^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 25 -     Div(ValueId, ValueId, ValueId),
[INFO] [stdout] 25 +     Div((), (), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/ir.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Call(ValueId, String, Vec<ValueId>),
[INFO] [stdout]    |     ---- ^^^^^^^  ^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 26 -     Call(ValueId, String, Vec<ValueId>),
[INFO] [stdout] 26 +     Call((), (), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/ir.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Print(ValueId),
[INFO] [stdout]    |     ----- ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 -     Print(ValueId),
[INFO] [stdout] 27 +     Print(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/ir.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     Return(Option<ValueId>),
[INFO] [stdout]    |     ------ ^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 29 -     Return(Option<ValueId>),
[INFO] [stdout] 29 +     Return(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/ir.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 |     Note(String),
[INFO] [stdout]    |     ---- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 30 -     Note(String),
[INFO] [stdout] 30 +     Note(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Copy` and `Phi` are never constructed
[INFO] [stdout]   --> src/ir.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Clone, Debug)] pub enum Inst {
[INFO] [stdout]    |                                  ---- variants in this enum
[INFO] [stdout] 20 |     Const(ValueId, i64),
[INFO] [stdout] 21 |     Copy(ValueId, ValueId),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     Phi(ValueId, Vec<(BlockId, ValueId)>),
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Inst` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `canon` is never read
[INFO] [stdout]   --> src/modules.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct LoadedModule {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] 22 |     display: String,
[INFO] [stdout] 23 |     canon: PathBuf,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `class_decl` and `program` are never used
[INFO] [stdout]    --> src/parser.rs:338:8
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl Parser {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 338 |     fn class_decl(&mut self) -> Result<Fun, String> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 342 |     fn program(&mut self) -> Result<Vec<Fun>, String> { let mut f = Vec::new(); while !matches!(self.peek(), Tok::Eof) { f.push(sel...
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `method_names` are never read
[INFO] [stdout]   --> src/checker.rs:13:65
[INFO] [stdout]    |
[INFO] [stdout] 13 | ...ct ClassDef { pub(crate) name: String, pub(crate) fields: Vec<(String, ir::IrType)>, pub(crate) constructor_name: String, pub(crate) method_names: V...
[INFO] [stdout]    |       --------              ^^^^                                                                                                        ^^^^^^^^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ClassDef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s
[INFO] running `Command { std: "docker" "inspect" "f1f83d451ffe4e9746a8afdd2ce82573f7856ee7bfacd951408c3405bf782580", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1f83d451ffe4e9746a8afdd2ce82573f7856ee7bfacd951408c3405bf782580", kill_on_drop: false }`
[INFO] [stdout] f1f83d451ffe4e9746a8afdd2ce82573f7856ee7bfacd951408c3405bf782580
